<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
</head>
<body>
    <div id="app">
        <a href="http://www.baidu.com" @click.prevent="aHandlerClick">链接跳转</a>
    </div>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {},
            methods: {
                aHandlerClick(){
                    alert('我是<a>标签的点击事件')
                }
            }
        })
    </script>
</body>
</html>